package com.sky.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 非遗项目图片表
 * @TableName nonheritage_img
 */
@TableName(value ="nonheritage_img")
@Data
public class NonheritageImgDTO implements Serializable {

    /**
     * 主键，自增
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 图片url
     */
    private String url;

    /**
     * 描述信息
     */
    private String description;

    /**
     * 关联的非遗项目id
     */
    private Integer nonheritageId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}